package com.itheima.demo08_多态成员的访问特点;

public class Fu {
    int num = 10;

    public void method1() {
        System.out.println("Fu 非静态方法method1...");
    }

    public static void method2() {
        System.out.println("Fu 静态方法method2....");
    }
}

class Zi extends Fu{
    int num = 20;

    public void method1() {
        System.out.println("Zi 非静态方法method1...");
    }

    public static void method2() {
        System.out.println("Zi 静态方法method2...");
    }



}
